package com.hpli.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: 汀
 * @CreateTime: 2025-04-25
 * @Description: ZooKeeper配置属性解析
 * @Version: 1.0
 */

@Data
@ConfigurationProperties(prefix = "zookeeper.sdk.config", ignoreInvalidFields = true)
public class ZookeeperClientConfigProperties {

    private String connectString;

    private int baseSleepTimeMs;

    private int maxRetries;

    private int sessionTimeoutMs;

    private int connectionTimeoutMs;

}
